package com.fz.us.oa.core.dao.com;

import com.fz.us.admin.company.dao.BaseFlowDao;
import com.fz.us.admin.company.entity.User;
import com.fz.us.oa.core.entity.com.Friend;

import java.util.List;

/**
 * Created by ZhuChunXiao on 2017/7/6.
 */
public interface FriendDao extends BaseFlowDao<Friend, String> {
    /**
     * 获取好友列表
     */
    List<Friend> getFriendList(User own);
    /**
     * 获取一条好友关系
     */
    Friend getFriend(User own, User friend);
}
